package lab.cloud.project.share;

import java.util.ArrayList;

public interface ClientModelInterface {
	void setChatShowText(String text);
	String getChatShowText();
	
	void addFileInfo(FileInfo n);
	void removeFileInfo(FileInfo d);
	public FileInfo getFileInfo(String name);
	public ArrayList getFileInfos();
	
	void setAuthor(String name);
	String getAuthor();
	
	void setCurrentDir(String path);
	String getCurrentDir();
	
	void registerChatObserver(ChatObserver o);
	void registerFileObserver(FileObserver o);
	void registerLocalObserver(LocalObserver o);
	void removeChatObserver(ChatObserver o);
	void removeFileObserver(FileObserver o);
	void removeLocalObserver(LocalObserver o);
	
	void parseFileByTime();
	ArrayList getTodayFiles();
	ArrayList getWeekFiles();
	ArrayList getMonthFiles();
}
